package com.lc.admin.service;

import com.lc.admin.bean.User;
import com.lc.admin.dto.LoginDto;
import com.lc.admin.vo.UserVo;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.Set;

public interface UserService extends UserDetailsService  {

    User getUserByUsername(String name);

    UserVo login(LoginDto loginDto) throws Exception;

    Set<String> findLablesByUserId(Long id);

    Set<String> findResourcesPathByUserId(Long id);
}
